package cn.kgc.javaweb.service.impl;

import cn.kgc.javaweb.dao.UserDao;
import cn.kgc.javaweb.dao.UserDaoImpl;
import cn.kgc.javaweb.entity.User;
import cn.kgc.javaweb.service.UserService;

import java.util.List;

/**
 * @author mosin
 * date 2022/3/15
 * @version 1.0
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao = new UserDaoImpl();
    @Override
    public List<User> findAll() {
        return userDao.selectAll();
    }
}
